278f3eb27da92b293f0d9f236b54527d9af376a6,src/main/mondrian/rolap/RolapMemberBase.java,RolapMemberBase,getPropertyFormattedValue,#String#,593
Before Change
getPropertyValue(propertyName));
}
Object val = getPropertyValue(propertyName);
if (val != null && val instanceof Number) {
// Numbers are a special case. We don't want any
// scientific notations, so we wrap in a BigDecimal
// before calling toString. This is cheap to perform here
// because this method only gets called by the GUI.
val = new BigDecimal(((Number)val).doubleValue());
}
return (val == null)
? ""
: val.toString();
}
After Change
// So we wrap in a BigDecimal, and format before calling toString.
// This is cheap to perform here,
// because this method only gets called by the GUI.
return FormatterFactory.getDefaultNumberFormatter()
.format(getPropertyValue(propertyName));
}
public boolean isParentChildLeaf() {